"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[45009],{38394:function(e,t,r){r.d(t,{NM:function(){return j},LI:function(){return P},vA:function(){return v},rf:function(){return d},oh:function(){return p}});var n=r(67294),o=r(66266);r(66992),r(33948);var i=r(99890);r(28172);var u=r(43920);r(54747);var c=r(52565),f=()=>{var e=(0,n.useRef)(!1);return(0,n.useEffect)((()=>(e.current=!1,()=>{e.current=!0})),[]),e};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=f(),[r,o,u]=(0,c.Z)(e),a=(0,n.useCallback)((e=>{t.current||o((t=>s(s({},t),(0,i.mf)(e)?e(t):e)))}),[]);return[r,a,u]},d=(e,t)=>{var r=(0,n.useRef)(!1);(0,n.useEffect)((()=>{if(r.current)return e();r.current=!0}),t)};function p(e,t){var[r,o]=(0,n.useState)();return(0,n.useEffect)((()=>{if(!i._f||!window.IntersectionObserver)return null;var r=new IntersectionObserver((e=>{for(var r of(null==t||t(e[0].intersectionRatio>0),e))o(r.isIntersecting)}),{root:document.body});return e.current&&r.observe(e.current),()=>{e.current&&r.unobserve(e.current)}}),[e.current]),[r]}var h=e=>{var t,r,o=(t=e,(r=(0,n.useRef)(t)).current=t,r);(0,n.useEffect)((()=>()=>{o.current()}),[])};function b(e,t){if(e===t)return!0;for(var r=0;r{var i=(0,n.useRef)(!1),u=(0,n.useRef)([]),c=(0,n.useRef)([]),f=(0,n.useRef)();g((()=>{var n,a=(Array.isArray(r)?r:[r]).map((e=>(0,o.n)(e)));if(!i.current)return i.current=!0,u.current=a,c.current=t,void(f.current=e());a.length===u.current.length&&b(a,u.current)&&b(t,c.current)||(null===(n=f.current)||void 0===n||n.call(f),u.current=a,c.current=t,f.current=e())})),h((()=>{var e;null===(e=f.current)||void 0===e||e.call(f),i.current=!1}))});function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t{var r=(0,o.n)(e);if(r){var n=new IntersectionObserver((e=>{for(var t of e)c(t.intersectionRatio),i(t.isIntersecting)}),m(m({},t),{},{root:(0,o.n)(null==t?void 0:t.root)}));return n.observe(r),()=>{n.disconnect()}}}),[],e),[r,u]},x=r(98534),E=i._f?n.useLayoutEffect:n.useEffect,P=(E,E);u.Z,x.Z},43920:function(e,t,r){r(66992),r(33948);var n=r(67294),o=r(99890),i=r(66266),u=!1;if(o._f)try{var c={};Object.defineProperty(c,"passive",{get:()=>(u=!0,"")}),window.addEventListener("test-passive",null,c)}catch(e){console.log(e)}t.Z=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(o._f){var c,{target:f=window,passive:a=!1,capture:s=!1,depends:l=[]}=r,v=()=>{var r=(0,i.n)(f);r&&!c&&(r.addEventListener(e,t,u?{capture:s,passive:a}:s),c=!0)},d=()=>{var r=(0,i.n)(f);r&&c&&(r.removeEventListener(e,t,s),c=!1)};(0,n.useEffect)((()=>(v(),()=>d())),[f,...l])}}},52565:function(e,t,r){r.d(t,{Z:function(){return i}}),r(66992),r(33948);var n=r(67294),o=r(99890);function i(e){var[t,r]=(0,n.useState)(e),i=(0,n.useRef)(t);return[t,(0,n.useCallback)((e=>{r((t=>i.current=(0,o.mf)(e)?e(t):e))}),[t]),i]}},98534:function(e,t,r){r(74916),r(66992),r(33948);var n=r(67294),o=r(99890),i=r(66266),u=/scroll|auto/i,c=o._f?window:void 0;function f(e){return"HTML"!==e.tagName&&"BODY"!==e.tagName&&1===e.nodeType}t.Z=function(e){var[t,r]=(0,n.useState)();return(0,n.useEffect)((()=>{if(e){var t=(0,i.n)(e);r(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;void 0===t&&(t=window);for(var r=e;r&&r!==t&&f(r);){var{overflowY:n}=window.getComputedStyle(r);if(u.test(n)){if("BODY"!==r.tagName)return r;var o=window.getComputedStyle(r.parentNode).overflowY;if(u.test(o))return r}r=r.parentNode}return t}(t))}}),[]),t}},45009:function(e,t,r){r.d(t,{Z:function(){return d}}),r(66992),r(33948);var n=r(67294),o=r(94184),i=r.n(o),u=r(98534),c=r(43920),f=r(99890),a=r(38394),s=e=>{var t=e;if(t===window){var r=t.innerWidth,n=t.innerHeight;return{top:0,left:0,right:r,bottom:n,width:r,height:n}}return t&&t.getBoundingClientRect?t.getBoundingClientRect():{top:0,left:0,right:0,bottom:0,width:0,height:0}},[l]=(0,f.do)("sticky"),v=e=>{var[t,r]=(0,a.vA)({fixed:!1,width:0,height:0,transform:0}),o=(0,n.useRef)(null),v=(0,u.Z)(o),d=(0,n.useMemo)((()=>(0,f.LU)("top"===e.position?e.offsetTop:e.offsetBottom)),[e.position,e.offsetTop,e.offsetBottom]),p=(0,n.useMemo)((()=>{var{fixed:e,height:r,width:n}=t;return e?{width:"".concat(n,"px"),height:"".concat(r,"px")}:null}),[t.fixed,t.height,t.width]),h=(0,n.useMemo)((()=>{if(!t.fixed)return null;var r=(0,f.l7)((0,f.As)(e.zIndex),{width:"".concat(t.width,"px"),height:"".concat(t.height,"px"),[e.position]:"".concat(d,"px")});return t.transform&&(r.transform="translate3d(0, ".concat(t.transform,"px, 0)")),r}),[e.position,t.fixed,d,t.width,t.height,t.transform]),b=(0,n.useCallback)((()=>{if(o.current&&!(0,f.xj)(o.current)){var{container:t,position:n}=e,i=s(o.current),u=(0,f.cx)(window),c={};if(c.width=i.width,c.height=i.height,"top"===n)if(t){var a=s(t.current),l=a.bottom-d-c.height;c.fixed=d>i.top&&a.bottom>0,c.transform=l<0?l:0}else c.fixed=d>i.top;else{var{clientHeight:v}=document.documentElement;if(t){var p=s(t.current),h=v-p.top-d-c.height;c.fixed=v-dp.top,c.transform=h<0?-h:0}else c.fixed=v-d{e.onScroll&&e.onScroll({scrollTop:t,isFixed:r})})(u,c.fixed)}}),[d]);return(0,c.Z)("scroll",b,{target:v,depends:[d]}),(0,a.oh)(o,b),(0,a.rf)((()=>{var r;null===(r=e.onChange)||void 0===r||r.call(e,t.fixed)}),[t.fixed]),n.createElement("div",{ref:o,style:p,"data-v-e57b92e1":""},n.createElement("div",{className:i()(l({fixed:t.fixed})),style:h,"data-v-e57b92e1":""},e.children))};v.defaultProps={offsetTop:0,offsetBottom:0,position:"top"};var d=v},66266:function(e,t,r){function n(e,t){return e?"function"==typeof e?e():"current"in e?e.current:e:t}r.d(t,{n:function(){return n}})}}]);